<%@ include file="/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <base target="_self">
  <link rel="stylesheet" type="text/css" href="styles/default.css" >
  <script type="text/javascript" src="scripts/common.js"></script>
</head>

<body>
<form id="SearchBackupCode1" action="SearchBackupCode.do" method="post">
<div class="main" style="width:90%;">
	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
		<caption>
		  查询备案号
		</caption>
	    <tr>
	      <td >
	        <table border="0" width="80%">
	          <tr height="25">
	            <td align="right">中文名</td>
	            <td><input type="text" name="name" value="${map.ccode.name}"></td>
	            <td align="right">备案号</td>
	            <td><input type="text" name="code" value="${map.ccode.code}"></td>
	          </tr>
	          <tr class="button">
	            <td colspan="4">
	            	<input type="submit" value=" 查询 "/>&nbsp;
	              	<input type="button" value=" 清空 " onclick="clearInput();" />
	            </td>
	          </tr>
	        </table>
	      </td>
	    </tr>
	  
	  <tr height="30">
	      <td align="center">
	      	<mytag:pagination pager="${map.page}" pageSize="10"  suppressHidden="true"/>
	      </td>
	  </tr>
	  <tbody>
	    <tr>
	      <td align="center">
	        <table class="list">
	          <tr class="title">
	            <td width="5%">序号</td>
	            <td width="23%">类型</td>
	            <td>备案号</td>
	            <td>中文名</td>
	            <td>英文名</td>
	          </tr>
			<c:forEach items="${map.page.items}" varStatus="stat" var="code">
	          <tr onclick="windowReturnValue('${code.code}')" style="cursor:pointer;">
	            <td>${stat.count+map.page.seq}</td>
	            <td>
	            	<mytag:c2s type="RecordCodes_type" key="${code.type}"/>
	            </td>
	            <td>${map.appPrefix}${code.code}</td>
	            <td>${code.name}</td>
	            <td>${code.ename}</td>
	          </tr>
			</c:forEach>
	        </table>
	      </td>
	    </tr>
	  </tbody>
	    <tr height="30">
	      <td align="center">
	      	<mytag:pagination pager="${map.page}" pageSize="10"  suppressHidden="false"/>
	      </td>
	    </tr>
	</table>
</div>
</form>
</body>
</html>
